package com.sxh.user.service;

import com.sxh.user.model.PageUser;
import com.sxh.user.model.UserInfo;
import com.sxh.user.model.Users;

import java.util.List;

public interface UserService {
    //用户注册
    void userRegister(Users user);
    //查询用户信息
    UserInfo queryUser(Long id,Long ownerId);
    //分页用户列表
    PageUser queryUserList(Integer pageNum, Integer pageSize, Long ownerId);
    //用户登录
    String userLogin(String username, String password);
    //修改用户信息
    void updateUser(UserInfo userInfo,Long ownerId);
    //密码重置
    void resetPassword(Long id,Long ownerId);
    //发送日志
    void sendMessage(Users user, Long id,Long ownerId,String type,String logId);
}
